package wapbean;

import common.DBHandle;

public class BookRecordBean {  
	
	  private String name;
	  private String date;
	  private String recordType;
	  private String descption;
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public String getDescption() {
		return descption;
	}
	public void setDescption(String descption) {  
		this.descption = descption;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getRecordType() {
		return recordType;
	}
	public void setRecordType(String recordType) {
		this.recordType = recordType;
	}
	 public void instory() {      
		   String sql ="insert into bookRecord(name,date,recordType)values('"+this.name+"','"+this.date+"','"+this.recordType+"')";
		   System.out.println(sql);
		   DBHandle.updateSql(sql);     
	 
	}
}
